/*
 * @Descripttion:
 * @version:
 * @Author: guowh
 * @Date: 2022-11-16 11:21:37
 */
const components = require.context('./components', true, /.vue$/)
import 'viewerjs/dist/viewer.css'
import VueViewer from 'v-viewer'
import './Icon/iconfont.js'
export default {
  //Vue为vue的构造函数，options为可选配置项
  install(Vue) {
    components.keys().forEach(item => {
      let compObj = components(item).default
      Vue.component(compObj.name, compObj)
    })
    Vue.use(VueViewer)
  }
}
